package com.itheima.domain;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Data
@Component
public class ShoppingCart implements Serializable {

    private String id;
    private String name;
    private String UserId;
    private String dishId;
    private String setmealId;
    private String dishFlavor;
    private Integer number;
    private Long amount;
    private String image;
  //  @TableField(fill = FieldFill.INSERT) //插入时填充字段,这里单独添加一个会报映射错误
    private String createTime;
}
